using System;

using Taimila.Entify.Attributes;

namespace Taimila.Entify.UnitTests
{
	[Entity]
	public class EntityWithAllValidators : Entity
	{
		[NotNullValidator]
		[StringLengthValidator(5, 10)]
		[EntityProperty(PersistentName = "NotNullAndStringLength")]
		public string NotNullAndStringLength
		{
			get;
			set;
		}
		
		[NotNullValidator]
		[EntityProperty(PersistentName = "NotNull")]
		public string NotNull
		{
			get;
			set;
		}
		
		[StringLengthValidator(5, 10)]
		[EntityProperty(PersistentName = "StringLength")]
		public string StringLength
		{
			get;
			set;
		}
	}
}
